package dfsketches.gr3d;

import java.util.HashMap;

public class CommonAnimationConstructor {

	public CommonAnimationConstructor() {
		splines = new HashMap<Bone, Spline>();
	}
	
	public void addSplineForBone(Bone bone, Spline spline) {
		splines.put(bone, spline);
	}
	
	public Animation construct() {
		return new CommonAnimation(splines);
	}
	
	private HashMap<Bone, Spline> splines;
	
}
